package pub.guoxin.oops.manager.vo;

import lombok.Data;
import pub.guoxin.oops.model.Boundary;
import pub.guoxin.oops.model.DataAlarmConfig;

/**
 * Create by guoxin on 2018/4/15
 */
@Data
public class DataAlarmConfigVo {
    /**
     * 公司Id
     */
    private String companyId;

    private String fieldName;

    private Boundary boundary;

    public DataAlarmConfig createDataAlarmConfig() {
        return new DataAlarmConfig(this.companyId, this.fieldName, this.boundary);
    }

}
